package com.biostime.qdingding.modules.qd.entity;

import com.biostime.qdingding.common.persistence.DataEntity;
import com.biostime.qdingding.modules.sys.entity.Area;

/**
 * 会员Entity
 * @author phil
 * @version 2015-11-06
 */
public class Member extends DataEntity<Member> {

	private static final long serialVersionUID = 1L;
	
	private String mobile;// 手机号
	private String password;// 登录密码
	private String nikename;// 会员昵称
	private String name;// 会员姓名
	private String avatar;//会员头像
	private Integer proviceId;// 省份
	private Integer cityId;// 城市
	private Integer areaId;//区域id
	private String district;// 区域
	private String address;// 地址
	private String loginFlag;//是否可登录
	
	private Area areaProvice;//省级区域
	private Area areaCity;//市级区域
	private Area areaArea;//区级区域
	
    private Center center;//所属中心
	
	public Member(){
		super();
		//nikename = "新增客户";
		//loginFlag = "0";
	}
	
	public Member(String id){
		super(id);
	}
	
	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	
	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
	public String getNikename() {
		return nikename;
	}

	public void setNikename(String nikename) {
		this.nikename = nikename;
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public Integer getProviceId() {
		return proviceId;
	}

	public void setProviceId(Integer proviceId) {
		this.proviceId = proviceId;
	}
	
	public Integer getCityId() {
		return cityId;
	}

	public void setCityId(Integer cityId) {
		this.cityId = cityId;
	}
	
	public Integer getAreaId() {
		return areaId;
	}

	public void setAreaId(Integer areaId) {
		this.areaId = areaId;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getDistrict() {
		return district;
	}

	public void setDistrict(String district) {
		this.district = district;
	}
	
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getLoginFlag() {
		return loginFlag;
	}

	public void setLoginFlag(String loginFlag) {
		this.loginFlag = loginFlag;
	}

	public Center getCenter() {
		return center;
	}

	public void setCenter(Center center) {
		this.center = center;
	}

	public Area getAreaProvice() {
		return areaProvice;
	}

	public void setAreaProvice(Area areaProvice) {
		this.areaProvice = areaProvice;
	}

	public Area getAreaCity() {
		return areaCity;
	}

	public void setAreaCity(Area areaCity) {
		this.areaCity = areaCity;
	}

	public Area getAreaArea() {
		return areaArea;
	}

	public void setAreaArea(Area areaArea) {
		this.areaArea = areaArea;
	}
	
}